package spec.ganlijuan.zuoye_qiu_2;

public class Ball_2 extends Ball_1 {

    private String zb;

    //方法重载
    String play(int a, int b) {
        return "\n运动员：" + a + ",裁判员：" + b ;
    }

    String play(int c) {
        return "\n比赛方法：" + c/2 +" VS "+c/2  ;
    }



    Ball_2(String name, float zhongliang, String qiuzhicai, String qiushihe, String qiumax, String tc, String shape) {
        super(name, zhongliang, qiuzhicai, qiushihe, qiumax, tc, shape);//调用父类属性
    }


}
